import { APlugin } from '../types/common.interface';
import { MergeCellPlugin } from './merge-cell.plugin';
import { RowHeightPlugin } from './row-height.plugin';
import { ColHeightPlugin } from './col-width.plugin';
import { SelectPlugin } from './select.plugin';
import { FillPlugin } from './fill.plugin';
import { BorderPlugin } from './border.plugin';
import { DataHandlePlugin } from './data-handle.plugin';
import { RenderEditorManagePlugin } from './render-editor-manage.plugin';
import { DevelopHelpPlugin } from './develop-help.plugin';
import { FontStylePlugin } from './font-style.plugin';
import { RightMenuPlugin } from './right-menu.plugin';
import { ModalPlugin } from './modal.plugin';
import { SettingModalPlugin } from './settings.modal.plugin';
import { FreezePlugin } from './freeze.plugin';
import { AutoWrapPlugin } from './auto-wrap.plugin';
import { DecimalPlugin } from './decimal.plugin';
import { DeleteLinePlugin } from './delete-line.plugin';
import { DeleteRowColPlugin } from './delete-row-col.plugin';
import { HiddenCellPlugin } from './hidden-cell.plugin';
import { HiddenRowColPlugin } from './hidden-row-col.plugin';
import { PercentPlugin } from './percent.plugin';
import { UnderLinePlugin } from './underline.plugin';
import { ScalePlugin } from './scale.plugin';
import { CellTypePlugin } from './cell-type.plugin';
import { ScrollY } from './scoll-y.plugin';
import { ScrollX } from './scroll-x.plugin';
import { EditPlugin } from './edit.plugin';
import { ValueChangePlugin } from './value-change.plugin';
let plugins: {new (...args: any[]): APlugin}[] = [
    MergeCellPlugin,
    RowHeightPlugin,
    ColHeightPlugin,
    SelectPlugin,
    FillPlugin,
    BorderPlugin,
    DataHandlePlugin,
    RenderEditorManagePlugin,
    FontStylePlugin,
    RightMenuPlugin,
    ModalPlugin,
    SettingModalPlugin,
    FreezePlugin,
    AutoWrapPlugin,
    DecimalPlugin,
    DeleteLinePlugin,
    DeleteRowColPlugin,
    HiddenCellPlugin,
    HiddenRowColPlugin,
    PercentPlugin,
    UnderLinePlugin,
    ScalePlugin,
    CellTypePlugin,
    ScrollY,
    ScrollX,
    EditPlugin,
    ValueChangePlugin
];
if(__ENV__ === 'development') {
    plugins.push(DevelopHelpPlugin);
}
export {plugins};